package com.ebeijia.service.admin;

import com.ebeijia.mybatis.pojo.NoticeInfo;
import com.ebeijia.query.NoticeInfoQuery;

import java.util.List;

/**
 * Created by YPJ on 2016/5/18.
 */
public interface NoticeInfoService {
    List<NoticeInfo> selectAllNotice(NoticeInfoQuery noticeInfoQuery);

    int selectAllNoticeCount(NoticeInfoQuery noticeInfoQuery);

    int deleteByPrimaryKey(String id);

    int insertNoticeInfo(NoticeInfo noticeInfo) throws Exception;

    NoticeInfo selectByPrimaryKey(String id) throws Exception;

    int updateByPrimaryKey(NoticeInfo noticeInfo) throws Exception;

    int updateByPrimaryKeySelective(String id);
}
